package com.dc.service;

import com.dc.model.Address;
import com.dc.vo.BaseModel;

public interface AddressService {
//    查询所有地址
    BaseModel selectPageAddress(String user_name,Integer curr_page,Integer page_size,BaseModel baseModel) throws Exception;
//    新增地址
    BaseModel addAddress(Address address,BaseModel baseModel) throws Exception;
//    修改地址
    BaseModel updateAddress(Address address,BaseModel baseModel) throws Exception;
//    删除地址
    BaseModel deletedAddress(String ids,BaseModel baseModel) throws Exception;
//    根据用户id查询地址信息
    BaseModel selectAddressById(int id,BaseModel baseModel) throws Exception;
//    根据地址id查询地址信息selectAddressByid
    BaseModel selectAddressByid(int id,BaseModel baseModel) throws Exception;
}
